[IA64] Typo fix: avoid spurious errors.
authorAlex Williamson <alex.williamson@hp.com>
Mon, 18 Jun 2007 19:36:36 +0000 (13:36 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Mon, 18 Jun 2007 19:36:36 +0000 (13:36 -0600)
Signed-off-by: Tristan Gingold <tgingold@free.fr>
tools/libxc/ia64/xc_dom_ia64_util.c

index d1d15f405cc2714b948d1376f541bc4baa35e1eb..37a41201dfc629c8089852ee611bd62bfffdcc3c 100644 (file)
@@ -104,7 +104,7 @@ xen_ia64_is_vcpu_allocated(struct xc_dom_image *dom, uint32_t vcpu)
     if (rc == 0)
         return 1;
 
-    if (rc != -ESRCH)
+    if (errno != ESRCH)
         PERROR("Could not get vcpu info");
     return 0;
 }